package com.snail.model.dto;

import lombok.Data;

import java.util.List;

/**
 * @author Monica
 * @description
 * @date 2025/7/18 13:19
 */
@Data
public class CourseCategoryIndexDto {
    private Integer id;
    private Integer parentId;
//    private Integer level;
    private String name;
    // 课程列表（只有叶子节点才有课程）
    private List<CourseIndexDto> courses;

    // 子分类
    private List<CourseCategoryIndexDto> children;
}
